package com.pattern.structural.adapter;

/*public class AdapterObject implements Target{

 private Adaptee adaptee;

 public AdapterObject(Adaptee adaptee) {
 this.adaptee = adaptee;
 }

 public void electricize() {
 adaptee.getElectricity();
 }
 }*/

public class AdapterObject extends AbstractTarget {

	private Adaptee adaptee;

	public AdapterObject(Adaptee adaptee) {
		this.adaptee = adaptee;
	}

	@Override
	public void electricize() {
		adaptee.getElectricity();
	}

}